package cn.org.donald.framework.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.org.donald.pojo.entity.system.Dictionary;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Donald
 * @since 2020-11-11
 */
public interface SysDictionaryService extends IService<Dictionary> {

    boolean isExistByCode(String code);

    boolean removeAndChild(Long code);

    List<Dictionary> getListByParentCode(String parentCode);

    List<Dictionary> getParentList();
}
